![]() |
PlotSICNHandle |
||||
Header: | Icons.h | Carbon status: | Supported | |
Draws a small icon of resource type 'SICN' to which you have a handle.
OSErr PlotSICNHandle ( const Rect *theRect, IconAlignmentType align, IconTransformType transform, Handle theSICN );
A pointer to the rectangle in which to draw the icon, specified in local coordinates of the current graphics port.
Specifies how the function should align the icon within the rectangle. See
Specifies how the function should modify the appearance of the icon. See
A handle to the icon to draw. You can obtain a handle to the icon using GetResource or other Resource Manager functions.
A result code.
Only 'SICN' resources with a single member—or with two members, the second of which is a mask for the first—plot correctly.
This function may move or purge memory blocks in the application heap. For that reason, your application should not call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)